<!--
 * @Author: Alex
 * @Date: 2019-08-23 03:41:20
 * @LastEditors: Alex
 * @LastEditTime: 2021-09-20 22:44:38
 * @FilePath: /uniappd1/pages/index/index.vue
-->
<template>
	<view class="content">
		<scroll-view scroll-x class="scroll-row">
			<view style="width:200upx" class="scroll-row-item border-primary">1</view>
			<view style="width:200upx" class="scroll-row-item">2</view>
			<view style="width:200upx" class="scroll-row-item">3</view>
			<view style="width:200upx" class="scroll-row-item">4</view>
			<view style="width:200upx" class="scroll-row-item">5</view>
			<view style="width:200upx" class="scroll-row-item">6</view>
		</scroll-view>
		<!-- <web-view :webview-styles="webviewStyles" src="https://www.bilibili.com/video/BV18q4y1L7TF?share_source=copy_web"></web-view> -->
		<image hover-class="" class="logo" src="/static/logo.png"></image>
		<view class="text-area animated zoomIn fast">
			<text class="title">{{title}}</text>
		</view>
		<navigator class="" target="" url="/pages/list/list" hover-class="navigator-hover" open-type="navigate">
			列表
		</navigator>
		<view @click="makePhone">拨打电话</view>
		<icon type="success" size="26" />
		<view class="demo">demo111</view>
	</view>
</template>

<script>
import until from '@/untils/common'
	export default {
		data() {
			return {
				title: '',
				webviewStyles: {
					progress: {
						color: '#FF3333'
					}
				}
			}
		},
		onLoad() {
			this.title = 'aaaasdasa'
		},
		methods: {
			makePhone(){
				until.makePhoneCall('18998472868')
			}
		}
	}
</script>

<style lang="scss" scoped>
	@import "/common/basic.css";

	.content {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;

		.demo {
			margin-top: 20rpx;
		}
	}

	.logo {
		height: 200rpx;
		width: 200rpx;
		margin-top: 200rpx;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 50rpx;
	}

	.text-area {
		display: flex;
		justify-content: center;
	}

	.title {
		font-size: 36rpx;
		color: #8f8f94;
	}
</style>